﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Pigmalion.UIWF.Controles
{
    public partial class ucTextButton : UserControl
    {
        public ucTextButton()
        {
            InitializeComponent();


            HandleCreated += new EventHandler(crear); 

        }

        public String Texto
        {
            get { return txtCriterio.Text; }
            set { txtCriterio.Text = value; }
        }
        private void crear(object sender, EventArgs e)
        {
            Texto = "wey";
        }
    }
}
